SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fba0268cc9f49a3edf164909f68410d9a6867ef4504d376c2efe16708d08c404' 
  AND token = '0BGq1azTWR4Stq1sZWgHxy+eRouOnU87EbUOuu2hqNM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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