SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ceb5b4feb621f99428bd79258d3683c4784ebf8dcd4666cc2cc533c901ee0586' 
  AND token = '9AfvEAJQFdrgxYTsCvCQssBW1Oh4XYtCu43gOGFhhwM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00074

JSON explain

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