SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f12faf8407f1fa6bf7832b857add1178841ca83f421c8cbca955f0e8d4036222' 
  AND token = 'fntr+QThCDjwx+uHu91j72qofuOY1E9d6DGphmoRvDU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00081

JSON explain

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