SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6418e714a076b471a8089e17daf44b7927e38ea1992d7a1a7224e496087659c3' 
  AND token = 'dqLVEJeHczWL0g9wGyHO10s2XQetxzrpZRe1dY2nMg4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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