SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '57a327f9314d29952b88158077c88ed990d1ecf3197243fa8724c58a64b866aa' 
  AND token = 'qyfUT4s/T099TSP5McWg00n0jn/0COS8Xq+cjvLfk7Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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