SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '580151bf8867b0f4ffbfd3dd42685d906a5bdb9a8f395a76b666e4065ec829a3' 
  AND token = 'e7qMYV9zv97bt8TrpWiTtmrJgOXVCzJ0WS3tDXBdiT0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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