SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5649dd595f9168262700c29d92f86a203716ca59ed6933c87b1fe51393173e4' 
  AND token = 'PgJDv+AKB0toIj5f59tLoZNXn44k/8kiqr1G12nRpr8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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