SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c756bed318d9cde6bfa544c58133ac12017df65fa7ce2daaa00e358d8bc417e' 
  AND token = 'C2USJqMQ6rM5Vnfo9qog5sqkjm8DM6zXtbzafu3EXBc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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