SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '41c8788b9a06267449ad52a33f2327c178dd15f0a8ca2ccb9248080f303c3f31' 
  AND token = 'K74d+f34VV+YBNGi/HtvLtwr2domK1scb+cNkKRvCi4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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