SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed8ecbdb65d923921543a203970ade6aff82e04a50a5debcef41efdd06e64d0e' 
  AND token = 'Ktjpr++MKmm1khbqs70a88dpJia3i5+SnJxNiTc7fsE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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