SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38a8af168c540fe155d2c13651b753676167884cac7dcb5398c1c01f6cf5082d' 
  AND token = 'mBBNee3KRnS9z7pYIWD1Q7Cas0b+MyYo0yO+D+DVjI4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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