SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a0ef5f19f304bec73d7f275de06e725be0713964b30f919c882e0a777f08c66' 
  AND token = 'I2bOS2ug+YUA9oC1bzGWxXAJ844vtOc75x79hBe+lp0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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