SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '765a0bfcccc7d31e29b741c1966ea069ef206e6502c28b185dcd3f49e13712c6' 
  AND token = 'P+Huk6hZ1HOEx+hTfRs6um8ImMoHiTTH4wo4xLmAY0g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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