SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '19af68ba22df95a54c0787b7580cf8a384cd268596a96b2b62d8d7805d31bb87' 
  AND token = 'Nk4YjwiE0ihbviR42E1mSsC+DOpT5NrvSxdk8Tmyhgw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}