SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5462a4f177d7d29c22c6497ced7619a515052f233ef5429536c9734efcbd77c' 
  AND token = 'k5987zyk4S278kUy8wqkH9/I6nwP6A4wosPJr9se78s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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