SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0519581b374fea53b9d8baf13e61ce4743d2180044f4348b2ccabbf4b9bec564' 
  AND token = 'oH5sOfEk9EgjN90dFACuRww8SX2/TsPv5mooB19rt8c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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