SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '11258d6a15308d50e11e02a37ddcfbccdc0d52aedc92c2142dca63e52c95a2a0' 
  AND token = 'gwHau8VXGPLPjRjQNCLJ1Pxvzp2uuEzPvJRj6Wnph+c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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