SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '86c9a6541364a546991f8daf817f46162f5550b4d9aeeda7080d60dc83eae477' 
  AND token = 'kegWKRjZFGZET18YSTaj+YRdVaiY51g8SH8ljk2Tm1o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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